package com.ithuaxin.array;

public class Test14 {
    public static void main(String[] args) {
        int[][] arr = {{11,22},{33,44,55,66}};
        int[][] arr2 = new int[][]{{11,22},{33,44,55,66}};
        int[][] arr3 = {
                {11,22},
                {33,44,55,66}
        };
        //System.out.println(arr3[0]);一维数组的地址值
        //System.out.println(arr3[0][3]);ArrayIndexOutOfBoundsException
        for (int i = 0; i < arr3.length; i++) {
            for (int j = 0; j < arr3[i].length; j++) {
                System.out.print(arr3[i][j]+" ");
            }
            System.out.println("");
        }
    }
}
